<p-accordion [multiple]="true">
    <p-accordionTab header="{{'device' | translate}}" [selected]="true">
        <div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'model' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Device Model" disabled pInputText maxlength="24"
                           [(ngModel)]="this.systemInformation.dModel">
                </div>
            </div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'serial_number' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Serial Number" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="this.systemInformation.serialNumber">
                </div>
            </div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'working_mode' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Local" disabled pInputText maxlength="24"
                           [(ngModel)]="this.systemInformation.workingMode">
                </div>
            </div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'controller_firmware_version' | translate}}
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Web Application Version" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="this.systemInformation.webVersion">
                </div>
            </div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'vitalising_firmware_version' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="BCG Version" disabled pInputText maxlength="24"
                           [(ngModel)]="this.systemInformation.BCGVersion">
                </div>
            </div>
        </div>
    </p-accordionTab>
</p-accordion>
<br><br>

<p-accordion [multiple]="true">
    <p-accordionTab header="{{'BCG-status' | translate}}" [selected]="true">
        <div>
            <!------------新的------------>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'status' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Status" disabled pInputText maxlength="24"
                            [(ngModel)]="BCGInformation.status">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'heart_rate' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Heart Rate" disabled pInputText maxlength="24"
                           [(ngModel)]="this.BCGInformation.heartRate">
                </div>
            </div>

            <!--------------新的-------------->
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'heart_rate_variability' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Heart Rate" disabled pInputText maxlength="24"
                            [(ngModel)]="BCGInformation.heartRateVariability">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'respiration_rate' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Respiration Rate" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="this.BCGInformation.respirationRate">
                </div>
            </div>

            <!--------------新的-------------->
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'stroke_volume' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Respiration Rate" disabled pInputText
                           maxlength="24" [(ngModel)]="BCGInformation.strokeVolume">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'calibration_parameters' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Calibration Parameters" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="this.BCGInformation.calibrationParameters">
                </div>
            </div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'measurement_direction' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Measurement Direction" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="this.BCGInformation.measurementDirection">
                </div>
            </div>
        </div>
    </p-accordionTab>
</p-accordion>
<br><br>

<!--全部需要重新对比赋值-->
<p-accordion [multiple]="true">
    <p-accordionTab header="{{'network_status' | translate}}" [selected]="true">
        <div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'DHCP' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Enabled" disabled pInputText maxlength="24"
                           [(ngModel)]="networkInformation.dhcp">
                </div>
            </div>
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'SSID' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="WLAN Client SSID" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="networkInformation.ssid">
                </div>
            </div>

            <!--                        <div *ngIf="networkTableStatus">-->

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'protocol' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="WLAN Client Netmask" disabled pInputText
                           maxlength="24" [(ngModel)]="networkInformation.protocol">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'security' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="WLAN Client Security" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="networkInformation.securityType">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'network_band' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="WLAN Client Security" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="networkInformation.networkBand">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'channel' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="Channel" disabled pInputText maxlength="24"
                           [(ngModel)]="networkInformation.networkChannel">
                </div>
            </div>
            <!--                        </div>-->
            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'ip_address' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="WLAN Client IP Address" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="networkInformation.ipv4Address">
                </div>
            </div>

            <div class="p-grid">
                <div class="p-col-6 local-accordion-text-key">
                    {{'DNS' | translate}}:
                </div>
                <div class="p-col-6 local-accordion-text-value">
                    <input class="input-style-system-info" placeholder="WLAN Client Primary DNS" disabled pInputText
                           maxlength="24"
                           [(ngModel)]="networkInformation.dns">
                </div>
            </div>
        </div>
    </p-accordionTab>
</p-accordion>

